package com.instance.demo4;

public class MainClass {

	public static void main(String[] args) {
		ClassLoader classLoader = MainClass.class.getClassLoader();

	    try {
	        Class aClass = classLoader.loadClass("com.instance.demo3.Student");
	        System.out.println("aClass.getName() = " + aClass.getName());
	    } catch (ClassNotFoundException e) {
	        e.printStackTrace();
	    }
	}
}
